home *** CD-ROM | disk | FTP | other *** search
- Path: EU.net!sun4nl!xs4all!falstaff
- From: falstaff@xs4all.nl (Falstaff)
- Newsgroups: comp.lang.c,comp.sys.amiga.programmer
- Subject: Re: pointer conversion error
- Date: 24 Mar 1996 10:55:29 GMT
- Organization: XS4ALL, networking for the masses
- Message-ID: <4j39n1$mh4@news.xs4all.nl>
- References: <381.6657T11T967@mistral.co.uk>
- NNTP-Posting-Host: xs1.xs4all.nl
- X-Newsreader: NN version 6.5.0 #666 (NOV)
-
- ghira@mistral.co.uk (Adam Atkinson) writes:
-
- >my c compiler (SAS/C version 6.56) creates a warning about the following:
-
- > printf("%u %u %u \n", i, l, h);
-
- >three.c 36 Warning 104: conversion from pointer to const/volatile to pointer to non-const/volatile
-
- >What am I doing wrong? i,l and h are unsigned longs.
-
- Seems like the printf() prototype is missing. #include <stdio.h>
-
- Frank
- --
- The famous GIICM now on line: http://www.xs4all.nl/~falstaff/GIICM.html
- ------------------------------------------------------------------------
- Frank A. Vorstenbosch +31-(70)-355 5241 falstaff@xs4all.nl
-